package com.yugao.fintech.antelope.gateway.handler;

import com.yugao.fintech.antelope.base.model.enums.StorageTypeEnum;
import com.yugao.fintech.antelope.base.model.module.config.param.StorageParam;
import org.springframework.stereotype.Component;
@Component
public class AliyunFileHandlerImpl extends AbstractFileHandler {
    @Override
    public StorageTypeEnum storageType() {
        return StorageTypeEnum.ALIYUN;
    }

    @Override
    public String getAccessUrl(String bucketName, StorageParam.Domain domain) {
        return domain.getDomain();
    }

    @Override
    public String realToVirtualBaseUrl(String data, StorageParam<?> storageParam, String domain) {
        return null;
    }
}
